﻿using PARK.Common.Const;
using SqlSugar;
using System;

namespace PARK.Consumer.Entitys
{
    [SugarTable("consum_qrcode")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class ConsumQrcodeEntity
    {
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }
        /// <summary>
        /// 用户Id 
        /// </summary>
        public string EmployeeId { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string JobNo { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string ReallName { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public string DepartId { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string DepartName { get; set; }
        /// <summary>
        /// 二维码对应卡号
        /// </summary>
        public string CardNo { get; set; }
        /// <summary>
        /// 二维码内容
        /// </summary>
        public string QRcode { get; set; }
        /// <summary>
        /// 有效期截止时间点
        /// </summary>
        public DateTime ExpiryEndDate { get; set; } 
        public DateTime dbDate { get; set; }
        public string Summary { get; set; }

        /// <summary>
        /// 所属公司Id
        /// </summary>
        public string CompanyId { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }

    }
}
